<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/9
  Time: 10:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

    <%
        //添加
        session.setAttribute("age",17);
        //替换
        session.setAttribute("age",18);
        //移除
        session.removeAttribute("age");
    %>
</body>
</html>
